package note.qinchong.test;

import java.io.IOException;

public class ExceptionInWhile {
	
	private static boolean isPause;

	public static void main(String[] args) {
		try {

			while (!isPause) {
				System.out.println("i am in while !!!");
				Thread.sleep(2000);
				throw new IOException();
			}
			
		} catch (Exception e) {
			System.out.println("i have catch the Exception");
			return ;
		}finally{
			System.out.println("this is in finally!!");
		}
		
		System.out.println("i think is end");
	}
}
